﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Inc.Top" %>
<%@ Register TagPrefix="Common" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<div class="common">
	<div class="topmenu_op">
		<div class="top_layer">
			<div class="top_logo"><a href="/"><img src="/Images/newLogow.gif" border="0" alt="<%=GetText("C5003")%>" /></a></div>
			<%if (Page.User.Identity.Name != "")
			{ %>
			<%} %>	
			<div class="top_op">
				<div>
					<asp:Panel Runat="server" ID="Login" Visible="False" HorizontalAlign="Right">
					<div class="floatr" style="padding-top:0px!important; padding-top:1px"><a href="#">My italki</a> - <strong><a href='<%=LoginHost%>/<%=Page.User.Identity.Name%>.htm'><%=NickName%></a></strong> | <a href='<%=LoginHost%>/user/logout.htm'><%=GetText("C0073")%></a> | <a href="http://www.kampyle.com/feedback_form/ff-feedback-form.php?site_code=6560057&amp;form_id=2625&amp;lang=en" target="kampyleWindow" id="kampylink" class="k_static" onclick="k_button.open_ff();return false;"><%=GetText("C3007")%></a><script src="http://cf.kampyle.com/k_button.js" type="text/javascript"></script>&nbsp;&nbsp;
					</div>
				</asp:Panel>
				<asp:Panel Runat="server" ID="UnLogin" Visible="False" HorizontalAlign="Right">
				<div><a id="a_login" href="<%=LoginHost%>/user/login.htm"><%=GetText("C0071")%></a>&nbsp;&nbsp;<%=GetText("C0085")%> <a href='<%=LoginHost%>/user/register.htm'><%=GetText("C0072")%></a>&nbsp;&nbsp;<a href="/feedback/feedback.htm"><%=GetText("C3007")%></a>
				</div>
				<div style="height:20px"></div>
				<script type="text/javascript" src="/Scripts/SiteLanguages.js"></script>
				</asp:Panel>
				<script language="JavaScript" type="text/javascript">
					var str = window.location.href;var __unLogin__ = "<%=UnLogin.ClientID%>";
					var obj = document.getElementById("a_login");
					if(obj!=null)
					{
						obj.href += "?IsShow=0&ReturnUrl="+str;
					}
				</script>
				</div>
				<%if (Page.User.Identity.Name != "")
				{ %>
				<%} %>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="topmenu_text">
		<div class="topmenu_text_site">
			<ul>
				<li id="navIndex1" class="unseltop topmenu_white_text"><a href="/payment/my_finance.htm"><span>Overview</span></a></li>
				<li id="navIndex2" class="unseltop topmenu_white_text"><a href="/payment/Purchase.htm"><span>Purchase</span></a></li>
				<li id="navIndex5" class="unseltop topmenu_white_text"><a href="/payment/withdraw.htm"><span>Withdraw</span></a></li>
				<li id="navIndex4" class="unseltop topmenu_white_text"><a href="/payment/history.htm"><span>Account History</span></a></li>
				<li id="navIndex3" class="unseltop topmenu_white_text"><a href="/payment/setting_profile.htm"><span>Settings</span></a></li>
			</ul>
		</div>
	</div>
</div>
<script>var obj = document.getElementById('navIndex'+'<%=NavIndex%>');</script>
<script type="text/javascript" src="/Scripts/head.js"></script>